﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

using Peradigm.Framework.Domain.Security;
using Peradigm.Framework.UI.Web;

/// <summary>
/// Summary description for AbstractLibertyControl
/// </summary>
public class AbstractLibertyControl : AbstractControl
{
    #region Constants
    #endregion

    #region Event Handlers
    #endregion

    #region Methods
    #endregion

    #region Properties
    public User User
    {
        get
        {
            UserVariable userVariable = new UserVariable();
            return userVariable.User;
        }
    }
    #endregion

    #region Private Methods
    #endregion

    #region Private Properties
    protected bool IsAsynchPostback
    {
        get
        {
            ScriptManager manager = ScriptManager.GetCurrent( this.Page );
            if ( manager != null )
                return ScriptManager.GetCurrent( this.Page ).IsInAsyncPostBack;
            else
                return false;
        }
    }
    #endregion

    #region Construction and Finalization
    public AbstractLibertyControl()
    {
    }
    #endregion

    #region Data Elements
    #endregion
}
